﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace DomainEventDemo.EntityFrameworkCore
{
    public class DomainEventDemoMigrationsDbContext : AbpDbContext<DomainEventDemoMigrationsDbContext>
    {
        public DomainEventDemoMigrationsDbContext(DbContextOptions<DomainEventDemoMigrationsDbContext> options) 
            : base(options)
        {

        }

        protected override void OnModelCreating(ModelBuilder builder)
        {
            base.OnModelCreating(builder);
            OrderingDomainEventDemoDbContextModelCreatingExtensions.ConfigureDomainEventDemo(builder);
        }
    }
}